package com.weiyuwqj.api.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "sys_picture")
public class SysPicture implements Serializable {
    @Id
    private Integer id;

    @Column(name = "item_id")
    private Integer itemId;

    /**
     * 图片超链接
     */
    @Column(name = "picture_url")
    private String pictureUrl;

    /**
     * 图片地址
     */
    @Column(name = "picture_path")
    private String picturePath;

    /**
     * 图片名称
     */
    @Column(name = "picture_name")
    private String pictureName;

    /**
     * 图片类型
     */
    @Column(name = "picture_type")
    private Integer pictureType;


    @Column(name = "item_picture_type")
    private Integer itemPictureType;

    /**
     * 添加时间
     */
    private Date addtime;

    /**
     * 添加ip
     */
    private String addip;

    /**
     * 排序
     */
    private Integer sequence;

    public Integer getItemPictureType() {
        return itemPictureType;
    }

    public void setItemPictureType(Integer itemPictureType) {
        this.itemPictureType = itemPictureType;
    }

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return item_id
     */
    public Integer getItemId() {
        return itemId;
    }

    /**
     * @param itemId
     */
    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    /**
     * 获取图片超链接
     *
     * @return picture_url - 图片超链接
     */
    public String getPictureUrl() {
        return pictureUrl;
    }

    /**
     * 设置图片超链接
     *
     * @param pictureUrl 图片超链接
     */
    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    /**
     * 获取图片地址
     *
     * @return picture_path - 图片地址
     */
    public String getPicturePath() {
        return picturePath;
    }

    /**
     * 设置图片地址
     *
     * @param picturePath 图片地址
     */
    public void setPicturePath(String picturePath) {
        this.picturePath = picturePath;
    }

    /**
     * 获取图片名称
     *
     * @return picture_name - 图片名称
     */
    public String getPictureName() {
        return pictureName;
    }

    /**
     * 设置图片名称
     *
     * @param pictureName 图片名称
     */
    public void setPictureName(String pictureName) {
        this.pictureName = pictureName;
    }

    /**
     * 获取图片类型
     *
     * @return picture_type - 图片类型
     */
    public Integer getPictureType() {
        return pictureType;
    }

    /**
     * 设置图片类型
     *
     * @param pictureType 图片类型
     */
    public void setPictureType(Integer pictureType) {
        this.pictureType = pictureType;
    }

    /**
     * 获取添加时间
     *
     * @return addtime - 添加时间
     */
    public Date getAddtime() {
        return addtime;
    }

    /**
     * 设置添加时间
     *
     * @param addtime 添加时间
     */
    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    /**
     * 获取添加ip
     *
     * @return addip - 添加ip
     */
    public String getAddip() {
        return addip;
    }

    /**
     * 设置添加ip
     *
     * @param addip 添加ip
     */
    public void setAddip(String addip) {
        this.addip = addip;
    }

    /**
     * 获取排序
     *
     * @return sequence - 排序
     */
    public Integer getSequence() {
        return sequence;
    }

    /**
     * 设置排序
     *
     * @param sequence 排序
     */
    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }
}